GREEN=\033[0;1;92m
NC=\033[0m

cmake_args ?=
cmake_args += -DCMAKE_PROGRAM_PATH:PATH="/opt/rh/devtoolset-9/root/bin"

all:
	mkdir -p build
	rm -fr build/*
	
	cmake -DCMAKE_BUILD_TYPE=Release . -B build
	make -C build

	@printf "${GREEN}netdata successfully built.${NC}\n"
	
